package org.javaboy.shiro.controller;

import org.javaboy.shiro.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BookController {

    @Autowired
    BookService bookService;
    @GetMapping("/book/create")
//    @MyPerms("book:create")
    public String create() {
        return bookService.create();
    }
}
